/*
 * @Author: fjxcjm 3157329468@qq.com
 * @Date: 2024-10-10 10:52:35
 * @LastEditors: fjxcjm 3157329468@qq.com
 * @LastEditTime: 2024-10-11 15:12:36
 * @FilePath: \vue3-project\src\router\modules\parent\index.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import Layout from "@/layout/index.vue";

export default [
  {
    path: "/",
    component: Layout,
    redirect: "student-info",
    name: "Parent",
    meta: {
      title: "家长界面",
    },
    children: [
      // 学生信息管理
      {
        path: "/student-info",
        component: () => import("@/views/parent/student-info.vue"),
        name: "StudentInfo",
        meta: { title: "学生信息", icon: "user" },
      },
      // 家长留言管理
      {
        path: "/messages",
        component: () => import("@/views/parent/messages.vue"),
        name: "Messages",
        meta: { title: "留言管理", icon: "message" },
      },
      // 日程查看
      {
        path: "/schedule",
        component: () => import("@/views/parent/schedule.vue"),
        name: "Schedule",
        meta: { title: "日程查看", icon: "calendar" },
      },
    ],
  },
];
